<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<link href="/admin/styles/general.css" rel="stylesheet" type="text/css" />
	<link href="/admin/styles/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>
	<span class="action-span1"><a href="index.php?act=main">SHOP 会员管理</a> </span><span id="search_id" class="action-span1"> - 会员修改 </span>
	<div style="clear:both"></div>
</h1>
<form method="post" action="" name="listForm" onsubmit="return confirmSubmit(this)">
  <!-- start goods list -->
	<div class="list-div" id="listDiv">
		<table cellpadding="3" cellspacing="1">
			<tbody>
				<tr>
					<th>会员列表</th>
					<th>会员名称</th>
					<th>会员电话</th>
					<th>会员邮箱</th>
					<th>登录次数</th>
					<th>会员状态</th>
					<th>操作</th>
				</tr>
				<?php foreach($member_list as $val){?>
				<tr>
					<td><?php echo $val->user_id;?></td>
					<td class="first-cell"><span><?php echo $val->user_name;?></span></td>
					<td><span><?php echo $val->user_tel;?></span></td>
					<td align="center"><span onclick=""><?php echo $val->user_email;?></span></td>
					<td align="right"><span onclick=""><?php echo $val->login_num;?></span></td>
					<td align="right"><span onclick="">
						@if($val->is_show == 1)
						正常
						@else
						冻结	
						@endif
					</span></td>
					<td align="center">
						<a href="member_up/<?php echo $val->user_id;?>">编辑</a>/
						<a href="member_del/<?php echo $val->user_id;?>">
						@if($val->is_show == 0)
						正常
						@else
						冻结	
						@endif
						</a>          
					</td>
				</tr>
				<?php }?>
  			</tbody>
 		</table>
	<!-- 分页 -->
	<div id="pull_right">
		<span>{!! $member_list->links() !!}</span>
	</div>
</div>
</form>
<div id="footer">
	版权所有 &copy; 2006-2013 软工教育 - 高级PHP - 
</div>

</body>
</html>
<style type="text/css">
        #pull_right{
            text-align:center;
        }
        .pagination {
            display: inline-block;
            padding-left: 0;
            margin: 20px 0;
            border-radius: 4px;
        }
        .pagination > li {
            display: inline;
        }
        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            margin-left: -1px;
            line-height: 1.42857143;
            color: #428bca;
            text-decoration: none;
            background-color: #fff;
            border: 1px solid #ddd;
        }

        .pagination > .active > a,
        .pagination > .active > span,
        .pagination > .active > a:hover,
        .pagination > .active > span:hover,
        .pagination > .active > a:focus,
        .pagination > .active > span:focus {
            z-index: 2;
            color: #fff;
            cursor: default;
            background-color: #428bca;
            border-color: #428bca;
        }

</style>